package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminRolePermission;
import com.ygqh.baby.po.AdminRolePermissionExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AdminRolePermissionMapper {
    int countByExample(AdminRolePermissionExample example);

    int deleteByExample(AdminRolePermissionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminRolePermission record);

    int insertSelective(AdminRolePermission record);

    List<AdminRolePermission> selectByExample(AdminRolePermissionExample example);

    AdminRolePermission selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminRolePermission record, @Param("example") AdminRolePermissionExample example);

    int updateByExample(@Param("record") AdminRolePermission record, @Param("example") AdminRolePermissionExample example);

    int updateByPrimaryKeySelective(AdminRolePermission record);

    int updateByPrimaryKey(AdminRolePermission record);
    
    int countSuper(@Param ("q") String q);
    
    List<AdminRolePermission> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    int updatePermissionByRoleId(@Param ("status") String status,@Param ("roleId") Long roleId);
}



